package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.AlertRuleDto;
import com.zzyl.entity.AlertRule;
import com.zzyl.vo.AlertRuleVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AlertRuleMapper {
    void insertAlertRule(AlertRule alertRule);
  
    void deleteAlertRule(Long id);
    AlertRule selectAlertRuleById(Long id);

        Page<AlertRuleVo> getPage(String alertRuleName, String functionName, String productKey);

    void updateAlertRule(Long id,  AlertRule alertRule );
}

